﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Templates_Generic_NavigateUp : Acms.AcmsControls.TemplatePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if(!IsPostBack && AcmsContext.CurrentPost != null && AcmsContext.CurrentPost.Parent != null)
        {
            AcmsContext.RedirectToPost(AcmsContext.CurrentPost.Parent, this);
        }
    }
}
